package org.rugby.online.impl;

import java.util.ArrayList;
import java.util.List;

import org.rugby.online.core.humans.RboPlayer;
import org.rugby.online.core.humans.RboPlayerTeam;

public class DefaultPlayerTeam extends DefaultObject implements RboPlayerTeam {

	/**
	 * Serial
	 */
	private static final long serialVersionUID = 3808570515522877820L;

	private static final String PLAYER_TEAM_NAME = "Player Team";

	/**
	 * The players in the team
	 */
	private List<RboPlayer> players;
	
	/**
	 * Constructor
	 */
	public DefaultPlayerTeam() {
		super();
		players = new ArrayList<RboPlayer>(0);
		setName(PLAYER_TEAM_NAME);
	}
	
	@Override
	public List<RboPlayer> getPlayers() {
		return players;
	}

}
